home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / tex / wstriprg.zip / STRIP.DOC < prev   
Text File  |  1991-10-17  |  2KB  |  42 lines

  1.                                 STRIP.COM
  2.                                     By
  3.                             Richard A. Gautier
  4.  
  5.    This file is intended to strip out the 8th bit of characters saved in
  6. WordStar document-type files.  As far as I know it will work on WordStar
  7. files up to version 4.  Versions 5 and above also embed printer types, tab
  8. placements and other strangeties that I don't wish to have to deal with.
  9.  
  10.    The program was written on the fly (I couldn't access SIMTEL-20, so I
  11. wrote it in Turbo-C) and doesn't claim to be the best on the market.
  12.  
  13.    It takes an input file from the command line, and opens it for input.
  14. It then evaluates the file one character at a time.  If the /r is NOT used,
  15. it merely strips off bit 8, and prints it out to standard output.
  16.  
  17.    If the /r is used on the command line, whenever it hits a period in the
  18. irst column of a line, it assumes it is a dot command, and ignores all
  19. further input up until the next line feed (ASCII 10, 0x0A).
  20.  
  21.    The syntax is simple:
  22.  
  23.    strip filename [/r]
  24.  
  25.    The /r is of course optional, and the filename may contain a full path.
  26.  
  27.    To get the output to go to a file, you may use the > command or >> command
  28. in DOS to redirect the output to a file or the printer.  An example of this
  29. is:
  30.    strip wsfile.txt /r > output.fil     to send output to 'output.fil'
  31.  
  32.    or
  33.  
  34.    strip wsfile.txt /r > prn            to send to a printer.
  35.  
  36.  
  37.    The program is public domain, free for any who want to use it.  The
  38. author can be reached at:
  39.                              Richard A. Gautier
  40.                              498 Denbigh Blvd #107
  41.                              Newport News, VA 23602
  42.